module.exports = {
  title: 'i2UP接口文档',
  description: '英方股份 · i2UP 7.x控制台接口文档',
  base: '/i2up-docs/',
  head: [
    ['link', { rel: 'icon', href: '/logo_mini.png' }]
  ],
  locales: {
    '/': {
      lang: 'zh-CN',
    },
  },
  shouldPrefetch: false,
  // theme: 'vue',
  // theme: 'reco',
  theme: 'antdocs',
  // theme: 'vdoing',
  // theme: 'hope',
  themeConfig: {
    hostname: 'i2UP接口文档',
    lastUpdated: 'Last Updated',
    pwa: false,
    seo: false,
    feed: false,
    sitemap: false,
    comment: false,
    category: false,
    tag: false,
    archive: false,
    nav: [
      {
        text: '已发布版本',
        items: [
          { text: '7.1.74', link: '/apiref/7.1.74/' },
          { text: '7.1.72', link: '/7.1.72/' },
          { text: '7.1.70', link: '/7.1.70/' },
          { text: '7.1.68', link: '/7.1.68/' },
          { text: '7.1.58', link: '/7.1.58/' },
          { text: '7.1.57', link: '/7.1.57/' },
          { text: '7.1.53', link: '/7.1.53/' }
        ]
      },
      {
        text: '接口说明',
        items: [
          { text: '7.1.xx(20220926)', link: '/apiref/7.1.76/' },
          { text: '7.1.74(20210819)', link: '/apiref/7.1.74/' },
          { text: '7.1.72(20210819)', link: '/7.1.72/apiref/' },
          { text: '7.1.70', link: '/7.1.70/apiref/' },
          { text: '7.1.68', link: '/7.1.68/apiref/' },
          { text: '7.1.58', link: '/7.1.58/apiref/' },
          { text: '7.1.57', link: '/7.1.57/apiref/' },
          { text: '7.1.53', link: '/7.1.53/apiref/' }
        ]
      },
      {
        text: 'SDK说明',
        items: [
          { text: '7.1.X', link: '/sdkspec/' },
          { text: '7.1.72', link: '/7.1.72/sdkspec/' },
          { text: '7.1.70', link: '/7.1.70/sdkspec/' },
          { text: '7.1.68', link: '/7.1.68/sdkspec/' },
          { text: '7.1.58', link: '/7.1.58/sdkspec/' },
          { text: '7.1.57', link: '/7.1.57/sdkspec/' },
          { text: '7.1.53', link: '/7.1.53/sdkspec/' }
        ]
      },
      {
        text: 'SDK下载',
        items: [
          { text: 'JAVA(gitee)', link: 'https://gitee.com/i2soft/i2up-java-sdk' },
          { text: 'Python(gitee)', link: 'https://gitee.com/i2soft/i2up-python-sdk' },
          { text: 'JAVA', link: 'https://github.com/info2soft/i2up-java-sdk' },
          { text: 'Python', link: 'https://github.com/info2soft/i2up-python-sdk' },
          { text: 'PHP', link: 'https://github.com/info2soft/i2up-php-sdk' }
        ]
      },
      { text: '官网', link: 'https://www.info2soft.com' },
    ],
    sidebar: 'auto',
    // sidebar: {
    //   '/apiref/': [
    //     '/apiref/',
    //     '/guide/installation',

    //   ],
    //   '/sdkspec/': [

    //   ]
    // },
    plugins: [
      [
        '@vuepress/back-to-top',
        '@vuepress/medium-zoom',
        '@vuepress/nprogress',
        (pluginOptions, context) => ({
          name: 'my-xxx-plugin'
          // ... the rest of options
        })
      ]
    ]
  }
}